package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘信息业务对象 collect_piece
 *
 * @author yhy
 * @date 2023-09-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CollectPieceBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long pkId;

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long parentPkId;

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long id;

    /**
     * 派车信息ID
     */
    @NotNull(message = "派车信息ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long product;

    /**
     * 生产时刻
     */
    @NotNull(message = "生产时刻不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date datTim;

    /**
     * 搅拌机
     */
    @NotBlank(message = "搅拌机不能为空", groups = { AddGroup.class, EditGroup.class })
    private String blend;

    /**
     * 盘序号
     */
    @NotNull(message = "盘序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long serial;

    /**
     * 搅拌时间
     */
    @NotBlank(message = "搅拌时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bldTim;

    /**
     * 盘方量
     */
    @NotNull(message = "盘方量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long pieAmnt;

    /**
     * 本盘坍落度
     */
    @NotBlank(message = "本盘坍落度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lands;

    /**
     * 标识
     */
    @NotBlank(message = "标识不能为空", groups = { AddGroup.class, EditGroup.class })
    private String flag;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String note;


}
